package com.qiqi.mealordersystem.model.Result;

import java.util.Map;

public class ResultInfo {

    private Object date;
    private Integer code = 1;
    private String info = "返回错误";

    public ResultInfo(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public ResultInfo(Object date, Integer code, String info) {
        this.date = date;
        this.code = code;
        this.info = info;
    }

    public Object getDate() {
        return date;
    }

    public void setDate(Object date) {
        this.date = date;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
